public class Date {
    public int year;
    public int month;
    public int day;

    public Date(int year, int month, int day) {
        this.year = year;
        this.month = month;
        this.day = day;
    }
    public Date(){

    }
    public void printdate(){
        System.out.println(year+"/"+month+"/"+day);
    }

    public static void main(String[] args){
        Date day1 = new Date(2020,9,12);
        Date day2 = new Date(2222,8,4);
        Date day3 = new Date(2114,12,4);

        day1.printdate();
        day2.printdate();
        day3.printdate();
    }

}
